package com.woniuxy.service;

import com.woniuxy.entity.Merchants;
import com.woniuxy.entity.QueryEntity;
import com.woniuxy.entity.ResponseEntity;

import java.util.List;

/**
 * @author leimin
 * @create 2022-04-26 19:04
 */
public interface MerchantsService {
    ResponseEntity findAllByCondition(QueryEntity<Merchants> queryEntity);

    ResponseEntity findAll();

    ResponseEntity findOne(int id);

    ResponseEntity addOne(Merchants merchants);

    ResponseEntity deleteOne(int id);

    ResponseEntity deleteBatch(int[] ids);

    ResponseEntity updateOne(Merchants merchants);

    ResponseEntity findFinance(QueryEntity<Merchants> queryEntity);

    ResponseEntity findSelectOption();

    ResponseEntity findByCode(String code);

    ResponseEntity findByName(String name);

    ResponseEntity importExcel(List<Merchants> list);
}
